import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import userInfo from './modules/userInfo'
import city from './modules/city'
import errorLog from './modules/errorLog'

import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    city,
    userInfo,
    errorLog
  },
  getters
})

export default store
